<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap" >
    <div class="h_a">搜索</div>
    <form action="${requestScope.FPWEB.rootPath }/merchant/cash/out/list${requestScope.FPWEB.urlStuff}" method="get" autocomplete="off">
        <div class="search_type cc">
            <label>商户：</label>
            <select name="org_id" id="org_id" class="mr10">
                <option value="">全部商户</option>
                <c:forEach items="${orgids }" var="item">
                    <option ${item.key==maps.org_id?"selected='selected'":"" } value="${item.key }">${item.value }</option>
                </c:forEach>
            </select>
            <button type="submit" class="btn btn_submit length_1">搜索</button>
            <button type="button" class="btn  length_2" onclick="window.location.href='${requestScope.FPWEB.rootPath }/merchant/cash/out/apply${requestScope.FPWEB.urlStuff}'">添加商户提现记录</button>
        </div>
    </form>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>商户ID</td>
                <td>商户名</td>
                <td>银行卡号</td>
                <td>持卡人姓名</td>
                <td>持卡身份证号</td>
                <td>银行预留手机号</td>
                <td>提现金额</td>
                <td>提现时间</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item" varStatus="i">
                <tr>
                    <td>${item.org_id}</td>
                    <td>${item.strMap.org_name}</td>
                    <td>${item.bank_no}</td>
                    <td>${item.idname}</td>
                    <td>${item.id_card}</td>
                    <td>${item.mobile}</td>
                    <td>${item.price}</td>
                    <td>${item.strMap.create_time}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <%@ include file="../public/pager/pager.pagination.jsp" %>
</div>
